home *** CD-ROM | disk | FTP | other *** search
- Path: uuneo.neosoft.com!usenet
- From: Wmatthew@lan-aces.com (W. Matthews)
- Newsgroups: comp.lang.c++
- Subject: Re: How can I make my own header-files?
- Date: 11 Mar 1996 15:54:36 GMT
- Organization: LAN-ACES, Inc.
- Message-ID: <4i1ibs$b7i@uuneo.neosoft.com>
- References: <4hukr6$2c9@mn5.swip.net>
- NNTP-Posting-Host: 198.65.178.8
- X-Newsreader: WinVN 0.92.5
-
- In article <4hukr6$2c9@mn5.swip.net>, daniel.lundin@mailbox.swipnet.se (Daniel MarjamΣki) says:
- >
- >Hallo!
- >
- >I want to make my own Header-files, but I don't know how to do.
- >
- >Daniel.lundin@mailbox.swipnet.se
- >
- You may end up with a couple of dozen responses but one easy way to do this
- if you start out with the code file is to copy or move the variable and function
- declarations that will be used by other programs to the header file. And might
- I suggest encapsulating the file with:
- #ifndef HEADER_FILE_ID
- #define HEADER_FILE_ID
- ...<prototypes & common varibles go here.>
- #endif /*HEADER_FILE_ID*/
- ______________________________________________
- |Wyatt Matthews: Tech Support Department |
- |WMATTHEW@LAN-ACES.COM -Internet- |
- |WMATTHEW.MHS@LAN-ACES -MHS- |
- |LAN-ACES Tech Support (713)890-9786 |
- |LAN-ACES BBS (713)890-9790 |
- |LAN-ACES Fax (713)890-9731 |
- |LAN-ACES Sales (713)890-9787 |
- ______________________________________________
-